﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class LoaiHangBus
    {
        public IEnumerable<LOAIHANG> LoaiHang()
        {
            LoaiHangDao lhdao = new LoaiHangDao();
            return lhdao.LoaiHang();
        }
        public int LayMaLoaiHang(string TenLoaiHang)
        {
            LoaiHangDao lhdao = new LoaiHangDao();
            return lhdao.LayMaLoaiHang(TenLoaiHang);
        }

    }
}
